package com.huike.controller.adminController;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/admin")
@Controller
public class AdminPageController {

    /**
     * 后台登录页面
     * @return
     */
    @RequestMapping("/login")
    public String login(){
        return "admin/login";
    }

    /**
     * 后台首页
     * @return
     */
    @RequestMapping("")
    public String adminMainPage(){
        return "admin/admin";
    }

}
